<?php
include('../class/class_connect.php');
$aConnect=new connect('main');
$row=mysql_num_rows($aConnect->select_all('users', "WHERE login='".$_GET['login']."'"));
if($row==1)echo '<log>Логин занят!</log>';
else echo '<img src="main_pics/ok.jpg" width="15" height="15">';
?>